package com.shop.service;

import com.shop.entity.User;

/**
 * @Author ls
 * @Date 2022/3/10 15:49
 * 详述:
 **/

public interface UserService {
    /**
     * 根据账号，获取用户信息
     * @param account
     * @return
     */
    public User findUserByAccount(String account);

    /**
     * 添加用户
     * @param user
     * @return
     */
    public int add(User user) ;
}
